﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
	public class DANHSACHCONGVIECBUS
	{
		public static DataTable GetListBC()
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GetListCV();
		}
		public static List<DANHSACHCONGVIEC> GetListBCS()
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GetListCVS();
		}
		public static DataTable GetListTHEO(DANHSACHCONGVIEC ds)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GetListTHEO(ds);
		}
		public static List<DANHSACHCONGVIEC> GetListBCs(DANHSACHCONGVIEC dm)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.getdanhsachcongviec(dm);
		}
		public static List<DANHSACHCONGVIEC> GETDSCV(DANHSACHCONGVIEC dm)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GETDSCV(dm);
		}
		public static DANHSACHCONGVIEC GETOBJECTDS(DANHSACHCONGVIEC dm)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GETOBJECTDS(dm);
		}
		public static DataTable GETOBJECTDSNEWS(DANHSACHCONGVIEC dm)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GETOBJECTDSNEWS(dm);
		}
		public static DataTable GETLISTCTKHAMBENH(DANHSACHCONGVIEC dm)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GETLISTCTKHAMBENH(dm);
		}
		public static DataTable GETDANHSACHCONGVIECTHANHTOAN(DANHSACHCONGVIEC dm)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GETDANHSACHCONGVIECTHANHTOAN(dm);
		}
		public static DataTable GETDANHSACHCONGVIECBENHNHAN(DANHSACHCONGVIEC dm)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.GETDSCONGVIECBENHNHAN(dm);
		}
		public static String CreateNewID()
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(DANHSACHCONGVIEC bc)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.INSERT(bc);
		}
		public static bool UPDATE(DANHSACHCONGVIEC bc)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.UPDATE(bc);
		}
		public static bool DELETE(DANHSACHCONGVIEC bc)
		{
			DANHSACHCONGVIECDAO b = new DANHSACHCONGVIECDAO();
			return b.DELETE(bc);
		}
	}
}
